package org.wlgzs.com.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
import java.util.Date;
/**
 * @ProjectName: internet_campus
 * @Package: org.wlgzs.com.entity
 * @ClassName: TakenDelivery
 * @Description: java类作用描述
 * @Author: alj
 * @CreateDate: 2019/1/21 4:58
 * @UpdateUser: 更新者
 * @UpdateDate: 2019/1/21 4:58
 * @UpdateRemark: 更新说明
 * @Version: 1.0*/
@TableName("taken_delivery")
@Data
@NoArgsConstructor(access = AccessLevel.PUBLIC)
@AllArgsConstructor(access = AccessLevel.PUBLIC)
public class TakenDelivery implements Serializable {

    @TableId(value="id",type=IdType.AUTO)
    private Integer id;

    /**
     *快递点（如申通，菜鸟，京东）
     */
    @TableField("express_store")
    private String expressStore;

    /**
     *快递点地址
     */
    @TableField("express_store_address")
    private String expressStoreAddress;

    /**
     *开始日期
     */
    @TableField("start_time")
    private Date startTime;

    /**
     *结束日期
     */
    @TableField("end_time")
    private Date endTime;

    /**
     *送达目标地址
     */
    @TableField("target_address")
    private String targetAddress;

    /**
     *受雇者的id
     */
    @TableField("receiver_id")
    private Integer receiverId;

    /**
     *雇主的id
     */
    @TableField("customer_id")
    private Integer customerId;

    /**
     *佣金
     */
    private Double commission;

    /**
     *备注
     */
    private String remarks;

    /**
     *交易状态（未交易，交易中，交易完）
     */
    private String status;

    /**
     *备用
     */
    private String remark;


}